@import './variables.scss';
// @import "./report.scss";
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
  font-family: $themeFontFamily;
  overflow-x: hidden;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: ' ';
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

// 公用样式start
::-webkit-scrollbar {
  width: 8px;
  padding: 1px 0;
}

::-webkit-scrollbar-thumb {
  background: transparent;
  border-radius: 4px;
}

// :hover::-webkit-scrollbar-thumb {
//   background: hsla(0, 0%, 53%, 0.4);
// }

// :hover::-webkit-scrollbar-track {
//   background: hsla(0, 0%, 53%, 0.1);
// }
::-webkit-scrollbar-thumb {
  width: 6px;
  background: hsla(0, 5%, 92%, 0.4);
}

::-webkit-scrollbar-track {
  background: hsla(0, 0%, 53%, 0.1);
}

.ml-20 {
  margin-left: 20px;
}

.mr-20 {
  margin-right: 20px;
}

.w50p,
.w100p {
  width: 48%;

  .el-select {
    width: 100%;
  }

  .el-date-editor {
    width: 100%;
  }

  .el-cascader {
    width: 100%;
  }
}

.w100p {
  width: 100%;
}

// 公用样式end
.title-con {
  height: calc(100% - 46px);
  width: 100%;
  padding: 0 10px;
}

// 公用样式end
// .search-box {
.label-input {
  .label {
    text-align: end;
    padding: 0 10px;
  }
}

// }
.examine {
  color: #fffff0;
  position: absolute;
  top: 20px;
  right: 180px;
  background: radial-gradient(#03dbcd 30%, #08f8e890);
  border: none;
  padding: 6.5px 12px;
  font-size: 15px;
}

.flex-start {
  display: flex;
  justify-content: flex-start;
  align-items: center;
}

.flex-end {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.space-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.el-table td div {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.edit-btns {
  cursor: pointer;
}

.table-btns {
  height: 30px;
  line-height: 30px;
  border-radius: 5px 5px 5px 5px;
  opacity: 1;
  border: 1px solid #54dee2;
  background-color: initial;
  font-size: 16px;
  font-weight: 400;
  color: #54dee2;
  padding: 0px 10px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  cursor: pointer;
  margin: 0 5px;
  white-space: nowrap;
}

.operate {
  display: flex;
  width: 100%;
  justify-content: center;

  .del {
    padding-left: 10px;
    color: #f56c6c;
  }
}

#tableColumnDialog {
  .el-dialog {
    width: 510px !important;
    min-width: 510px !important;
    height: auto !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;

    .el-dialog__body {
      padding: 30px 20px !important;
      text-align: left !important;
      height: auto !important;
      overflow-x: hidden;

      .el-checkbox {
        .el-checkbox__label {
          color: #606266 !important;
        }
      }
    }
  }
}

.btndefault {
  background-color: #02bcec;
  border-radius: 5px;
  height: 32px;
  cursor: pointer;
  text-align: center;
  font-size: 16px;
  color: #fff;

  .btn {
    padding-top: 3px;
    margin: 0 2px;
    text-align: center;
    font-size: 16px;
    display: inline-block;
    height: 26px;
    line-height: 26px;
    padding: 0 8px;
    // background-color: #02bcec;
    // box-shadow: 0px 0px 2px 2px rgba(0, 0, 0, 0.4);
    // border-radius: 4px;
    // opacity: 1;
  }
}

td {
  & > div {
    width: 100% !important;
  }
}

.tabseletbox {
  display: flex;
  label {
    padding: 10px 10px 0 0;
    width: 100px;
  }
  .butt-list-sty {
    width: auto;

    & > div {
      border-radius: 0;
    }
  }
}

.ele-upload-image.disabled {
  & > div {
    margin-bottom: 0 !important;
  }
  .el-icon-delete,
  .el-upload {
    display: none !important;
  }
}

.el-tooltip__popper {
  max-width: 60%;
}
.page-top__wrapper {
  background: #00485a;
  height: 50px;
  margin-bottom: 10px;
  position: relative;
  width: 100%;
  .page-top__todo {
    position: absolute;
    right: 0;
  }
}
.page-top__todo {
  margin-right: 10px;
  height: 50px;
  display: flex;
  align-items: center;
  > * {
    margin-right: 15px;
    &:last-child {
      margin-right: 0;
    }
  }
}
.loading {
  text-align: center;
  padding: 25px 0;
}
.el-dialog {
  border-radius: 0 !important;
}
.el-dialog__header {
  border-radius: 0 !important;
}
.pointer {
  cursor: pointer;
}
.el-table__body {
  height: auto !important;
}
.el-form-item {
  &:last-of-type {
    margin-bottom: 0;
  }
}
